package com.eastcom.providor.service.impl;

import java.util.List;

import com.eastcom.client.MapEntryNode;
import com.eastcom.providor.dao.INeTypeDao;
import com.eastcom.providor.service.BaseService;
import com.eastcom.providor.service.extview.ConstConfigUtil;

public class ConstConfigService extends BaseService{

	private INeTypeDao neTypeDao;
	
	public void setNeTypeDao(INeTypeDao neTypeDao) {
		this.neTypeDao = neTypeDao;
	}

	public List<MapEntryNode> getServiceTypeConfig(){
		try{
			return ConstConfigUtil.createNeTypeConfig(neTypeDao.selectAllNeType());
			
		}catch (Exception e) {
			e.printStackTrace();
			log.debug("ConstConfigCreate   createNeTypeConfig error",e);
		}
		return null;
	}
}
